//
//  UIScrollView+BCScreenshot.m
//  BCUIKit
//
//  Created by chun.chen on 2020/10/19.
//

#import "UIScrollView+BCScreenshot.h"
#import "UIView+BCScreenshot.h"

@implementation UIScrollView (BCScreenshot)

-(UIImage*)bc_screenshotOfVisibleContent {
    CGRect croppingRect = self.bounds;
    croppingRect.origin = self.contentOffset;
    return [self bc_screenshotForCroppingRect: croppingRect];
}
@end
